import React, { FC } from "react";
import styles from '@/Components/QuestionComponent/QuestionInput.module.scss'
type PropsType = {
  fe_id: string;
  props: {
    title: string;
    placeholder?: string;
  };
};
const QuestionInput: FC<PropsType> = ({ fe_id, props }) => {
  const { title, placeholder = "" } = props;
  return (
    <>
      <p>{title}</p>
      <input type="hidden" name={fe_id}/>
      <div className={styles.inputWrapper}>
        <input placeholder={placeholder} />
      </div>
    </>
  );
};
export default QuestionInput;
